package net.ojbk.timeSpace.test.web.handllers;

import javax.servlet.http.HttpServletResponse;

import org.springframework.http.ResponseEntity;

/**
 * 二进制静态资源控制器
 * @author Tanzhonglin
 *
 */
public interface IResourceController {

	/**
	 * 根据imgId返回 照片的二进制流
	 * @param ImgId
	 * @return
	 */
	public ResponseEntity<byte[]> doGetImg(String imgId, HttpServletResponse  response);
}
